﻿<UserControl x:Class="ThanNhanTao.UC.ucThongKeBenhAnMainForm"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
             xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/core"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             dxc:ThemeManager.ThemeName="Office2007Blue"
             mc:Ignorable="d">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="14"></RowDefinition>
        </Grid.RowDefinitions>
        <dxg:GridControl Name="gridThongKeBenhAn" Grid.Row="0">
            <dxg:GridControl.Columns>
                <dxg:GridColumn FieldName="TongBenhCu" ReadOnly="True" Header="Bệnh cũ" AllowBestFit="True"/>
                <dxg:GridColumn FieldName="TongBenhVao" Header="Bệnh vào" AllowBestFit="True"/>
                <dxg:GridColumn FieldName="TongBenhRa" Header="Bệnh ra" AllowBestFit="True"/>
                <dxg:GridColumn FieldName="TongBenhTuVong" Header="Tử vong" AllowBestFit="True"/>
                <dxg:GridColumn FieldName="TongBenhConLai" Header="Còn lại" AllowBestFit="True"/>
            </dxg:GridControl.Columns>
            <dxg:GridControl.View>
                <dxg:TableView Name="tbvThongKeBenhAn" ShowGroupPanel="False" AllowFilterEditor="False" 
                               AutoWidth="True" AllowGrouping="False" AllowEditing="False" FontWeight="Bold"
                               MaxWidth="405" NavigationStyle="Row"
                               />
            </dxg:GridControl.View>
        </dxg:GridControl>
        <Label Grid.Row="1" Content="" Visibility="Hidden" x:Name="lblThongBao" FontWeight="Bold" FontSize="11" Foreground="Red"></Label>
    </Grid>
</UserControl>
